home *** CD-ROM | disk | FTP | other *** search
- property appPath, generalPath, filePath
-
- on new me
- return me
- end
-
- on getPropertyDescriptionList me
- description = [:]
- addProp(description, #generalPath, [#default: EMPTY, #format: #string, #comment: "Pathname of the folder:"])
- addProp(description, #filePath, [#default: "none", #format: #string, #comment: "Pathname of the file:"])
- addProp(description, #appPath, [#default: "none", #format: #string, #comment: "Pathname of the app the launch:"])
- return description
- end
-
- on mouseUp me
- if (appPath <> "none") and (filePath <> "none") then
- open(generalPath & filePath, generalPath & appPath)
- end if
- end
-